home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / remote / ot_100.zip / OT.DOC next >
Text File  |  1991-07-27  |  33KB  |  812 lines

  1.  
  2.  
  3.                                     OffTopic
  4.  
  5.                                   Version 1.00
  6.  
  7.  
  8.                   A Message Base Thread Remover And Twit Filter
  9.  
  10.                          for RemoteAccess 1.00 or higher
  11.  
  12.  
  13.  
  14.                     (c) Copyright 1991, by Kenneth R. Doebler
  15.                                All Rights Reserved
  16.  
  17.  
  18.  
  19.  
  20.                         Released to the general public on
  21.  
  22.                                   July 27, 1991
  23.  
  24.  
  25.  
  26.  
  27.  
  28.                                    DISCLAIMER
  29.  
  30.  
  31.         "OffTopic is supplied as is.  The author disclaims all warrantees
  32.         expressed or implied, including, without limitation, the
  33.         warrantees of merchantability and of fitness for any purpose.
  34.         The author assumes no liability for damages, direct or
  35.         consequential, which may result from the use of OffTopic."
  36.  
  37.  
  38.  
  39.  
  40.                                   DISTRIBUTION
  41.  
  42.  
  43.         OffTopic is distributed in archived form.  The distribution
  44.         archive should contain the following files:
  45.  
  46.  
  47.                    OT       EXE    42181   7-27-91   1:00a
  48.                    OT       DOC    33312   7-27-91   1:00a
  49.                    TOPIC    LST       31   7-27-91   1:00a
  50.                    PEOPLE   LST       28   7-27-91   1:00a
  51.                    SOFTRES  DOC     2030   7-27-91   1:00a
  52.  
  53.  
  54.         If your distribution archive is missing any of these files, or
  55.         if any of your files are different from the above list, you do
  56.         not have an original distribution archive.  Please contact me at
  57.         the address or number listed at the end of this document.  You
  58.         may obtain the latest official distribution archive at any time
  59.         from The Software Resource, listed at the end of this document.
  60.  
  61.         You are encouraged to pass a copy of OffTopic along to your
  62.         friends and post it on Bulletin Boards for downloading, provided
  63.         that you:
  64.  
  65.            1)  Do not modify or alter the original program or
  66.                documentation files in any way.
  67.  
  68.            2)  Pass along the complete archive with all files included,
  69.                in it's original unmodified form.
  70.  
  71.            3)  Do not distribute the archive in conjunction with any
  72.                commercial or money making endeavor of any kind without
  73.                prior consent of the author.
  74.  
  75.         If you are in doubt about the contents of your distribution
  76.         archive or any of the above items, please contact me via netmail
  77.         or call The Software Resource at the address and number listed at
  78.         the end of this document.
  79.  
  80.  
  81.  
  82.  
  83.                                   Introduction
  84.  
  85.  
  86.         Getting tired of wading through all those off-topic messages in
  87.         the thread that wouldn't die?  Is there someone out there in one
  88.         of the conferences you read that you just can't seem to tolerate
  89.         any longer?  Finding yourself more and more pressed for time and
  90.         barely able to keep up with the echomail flow in the areas you
  91.         read?  Is it all you can do sometimes to keep yourself from
  92.         jumping on that reply key and giving someone out there a piece
  93.         of your mind?
  94.  
  95.         Well, have no fear...  Relief is in sight!  You are now in
  96.         possession of the ultimate personal weapon for combatting all
  97.         those off-topic threads and unbelievable people.
  98.  
  99.  
  100.  
  101.  
  102.                                 What Is OffTopic?
  103.  
  104.  
  105.         OffTopic is a message base utility for use with RemoteAccess
  106.         1.00 and higher.  OffTopic will allow you to selectively remove
  107.         those irritating off-topic threads in your message base, and
  108.         also eliminate that nonsense that seems to come from certain
  109.         individuals out there, so you never have to see it.  OffTopic
  110.         will let you do all this and more, either interactively or in
  111.         an automated fashion.
  112.  
  113.         OffTopic will save you both time and frustration by reducing the
  114.         reading load in your message base and eliminating messages you
  115.         don't want to read.  OffTopic can also be used in several other
  116.         ways to make your life easier and more pleasant!
  117.  
  118.  
  119.  
  120.  
  121.                                   Registration
  122.  
  123.  
  124.         OffTopic is provided free of charge to anyone interested in
  125.         trying or using it.  There is no commercial or otherwise
  126.         industrial strength version of OffTopic.  This is it.  No
  127.         registration required, no fees, no monthly payments, nothing
  128.         of the kind.  OffTopic is primarily a by-product of my work on
  129.         another project called Mail.  I found OffTopic useful here and
  130.         thought that some others might find it useful also.  If you use
  131.         OffTopic, and you like it, I'd appreciate a note via Netmail
  132.         letting me know that you enjoy it or that it's of use to you.
  133.         This will give me an idea of how useful it is to others, and
  134.         whether or not future enhancements might be worthwhile.
  135.  
  136.  
  137.  
  138.  
  139.                              Setup And Installation
  140.  
  141.  
  142.         Setting up and/or installing OffTopic is easy.  You can run
  143.         OT from any drive or directory, provided that you have your
  144.         RA environment variable set (RA=PATH etc).  OffTopic will check
  145.         your environment for the RA= variable and if found, will use
  146.         this information to find your RA system files.  If you do not
  147.         have your RA= environment variable set, you will need to run
  148.         OT.EXE from your main RA system directory.
  149.  
  150.         OffTopic will locate your message base files and a few other RA
  151.         system files from the information it finds in CONFIG.RA.  No
  152.         special setup or configuration is needed.. OT handles everything
  153.         automatically.
  154.  
  155.         You can run OffTopic from the DOS command prompt, or you can
  156.         also run OT from a batch file.  One possibility might be running
  157.         OT after you toss new mail to your message base, or perhaps
  158.         nightly during maintenance.
  159.  
  160.  
  161.  
  162.  
  163.                                   Using OffTopic
  164.  
  165.  
  166.         OffTopic can be used in a variety of ways.  In it's simplest
  167.         form, OT can be used to selectively remove certain message
  168.         threads or topics from your message base.  There are times when
  169.         certain topics or threads become ridiculously off-topic and long
  170.         lived, and OT gives you the ability to spot and remove these
  171.         threads automatically if you like.
  172.  
  173.         On another level, OT can also be used to remove any messages
  174.         from a certain individual from your message base.  There are
  175.         times when one individual is causing a great deal of disruption
  176.         or annoyance in an echo conference.  Sometimes this passes by
  177.         quickly, and other times it seems like that individual will
  178.         never stop or leave.  OT will let you "twit" that person,
  179.         removing any mesages written by that individual from your
  180.         message base and making the conference much more bearable.
  181.  
  182.         On yet another level, OT can also be used to protect you against
  183.         potentially irritating users.  If you are running an "open"
  184.         system and like to leave your echo conferences open to all
  185.         users, OT will make it easier for you to do so.  Everyone has
  186.         experienced that truly "twit" user who insists on being an
  187.         annoyance by posting off-topic or otherwise inappropriate
  188.         messages in your echo areas.  If you know who these users are,
  189.         you can have OffTopic remove their messages from your message
  190.         base automatically, before you export their messages and before
  191.         anyone has a chance to read them.
  192.  
  193.         I'm sure there are other uses you can think of for OffTopic, so
  194.         I'll let you use your imagination.  OffTopic is not intended to
  195.         be anything but a tool that will help you clean up your message
  196.         base and rid it of some of the more common plagues that make
  197.         life for a sysop less than pleasant at times.
  198.  
  199.         OffTopic also has an "Oops!" option in case you need to recover
  200.         from an accidental overkill.  This command is discussed in the
  201.         next section under OffTopic Commands.  OT has the ability to
  202.         UnDelete deleted messages on specified boards or in the entire
  203.         message base.  This can come in handy any time you delete a
  204.         message by mistake, and wish to recover it.
  205.  
  206.         And finally, if the idea of having OffTopic kill messages is
  207.         mildly disturbing to you, you can optionally have OT just Move
  208.         the messages to another board for later review and processing.
  209.  
  210.  
  211.  
  212.  
  213.                         OffTopic Commands And Options
  214.  
  215.  
  216.         The following is a summary of the basic commands and options
  217.         available for use with OffTopic:
  218.  
  219.         OT "topic string" -<options>
  220.  
  221.         Where "topic string" is the topic or string to search for in the
  222.         message headers.  In some cases, "topic string" is optional,
  223.         i.e. if you specify a person list or topic list to use rather
  224.         than a topic in quotes on the command line.  You can, however,
  225.         use both a "topic string" and a Topic List file.
  226.  
  227.         Options:
  228.  
  229.             -b<board number(s)>
  230.             -c<case sensitive>
  231.             -e<exclude board numbers>
  232.             -k<keep messages to sysop>
  233.             -l<log activity>
  234.             -m<move to board>
  235.             -n<"name">
  236.             -p<person list file>
  237.             -rn<relaxed name search>
  238.             -rt(relaxed topic search>
  239.             -t<topic list file>
  240.             -u<undelete>
  241.  
  242.         Explanation of options:
  243.  
  244.             -b<board number(s)>
  245.  
  246.             This option allows you to specify which board or boards you
  247.             wish OT to process or search.  The -b option can be used at
  248.             any time, in conjunction with any of the other options.  An
  249.             example of how it would appear on the command line follows:
  250.  
  251.             OT "offline readers" -b 2 3 29
  252.  
  253.             This would cause OT to search for and kill messages who's
  254.             topic or subject field contained "offline readers" on boards
  255.             2, 3 and 29 only.  The board numbers must be separated by a
  256.             space on the command line (as above).  The space between
  257.             "-b" and "2" is optional.
  258.  
  259.  
  260.             -c<case sensitive>
  261.  
  262.             This option allows you to tell OT to look for exact matches
  263.             to names and topics, exact meaning exact.  Upper and lower
  264.             case distinctions apply.  For example:
  265.  
  266.             OT "offline ReaDerS" -c
  267.  
  268.             This would require an exact match, case and all, for OT to
  269.             kill the message.  OT would need to find "offline ReaDerS"
  270.             in the subject field of the message headers, exactly as you
  271.             see it in quotes above.
  272.  
  273.             By default, OT does NOT pay attention to upper/lower case
  274.             distinctions.  This option is mostly here in case you ever
  275.             have a need for it, however, most of the time it will be
  276.             easier to let OT ignore case.
  277.  
  278.  
  279.             -e<exclude board numbers>
  280.  
  281.             This option is similar to the -b<board numbers> option
  282.             except that it allows you to exclude certain board numbers
  283.             from OT's search.  An example might be:
  284.  
  285.             OT "tag lines" -e 20 21 34
  286.  
  287.             OT would then search for the topic "tag lines" on all
  288.             message boards except boards 20, 21 and 34.  This would
  289.             probably speed up the search slightly also.
  290.  
  291.             The -e<exclude board numbers> option can also be used in
  292.             conjunction with the -u<undelete> option, to tell OT to
  293.             ignore deleted messages on certain boards (not undelete
  294.             them).
  295.  
  296.  
  297.             -k<keep messages to sysop>
  298.  
  299.             This option can be used to ensure that OT will NOT delete or
  300.             move any messages that are addressed to you, the sysop.  The
  301.             sysop name used is the name you have defined as sysop in your
  302.             Config.Ra file.  Example usage might be:
  303.  
  304.             OT "boring topic" -k
  305.  
  306.             This would tell OT to search for and kill any messages that
  307.             contained "boring topic" in the message header, but to keep
  308.             (not kill) any messages that happen to be addressed to you,
  309.             the sysop.
  310.  
  311.  
  312.             -l<log activity>
  313.  
  314.             Using this option enables OT activity logging.  This is
  315.             particularly useful if you're running OT unattended from a
  316.             batch file on a regular basis.  OT will make a summary log
  317.             entry to the file "OT.LOG" every time it's run.  If the log
  318.             file OT.LOG doesn't exist, OT will create it.  If it does
  319.             exist, OT will append the new info to it.  An example:
  320.  
  321.             OT "yet another topic" -l
  322.  
  323.             This will cause OT to make a log entry for this run.  After
  324.             a few successive runs of OT, a typical OT.LOG might look
  325.             something like this:
  326.             
  327.             --- OffTopic Log Created  07-23-91 13:09:20
  328.  
  329.             07-23-91 13:09:29  No Off Topic Messages Found
  330.             07-23-91 17:16:53  26 Message(s) Killed
  331.             07-23-91 19:04:08  14 Message(s) Killed
  332.             07-23-91 21:13:50  1 Message(s) Killed
  333.             
  334.             The logging is fairly primitive, as you can see above, and
  335.             does not record any detailed information, but it does give
  336.             you an idea of what happened and when.  The logging detail
  337.             may be expanded in future releases if it seems warranted.
  338.  
  339.  
  340.             -m<move to board>
  341.  
  342.             This option let's you tell OT to move messages it finds to
  343.             another board, rather than kill the messages.  If you use
  344.             the "-m" option, you must specify a valid message board
  345.             number so that OT can move what it finds to that board.  An
  346.             example of how this might be done is:
  347.  
  348.             OT "Bimodem" -m 99
  349.  
  350.             This would tell OT to search message headers for "Bimodem"
  351.             and rather than kill these messages, move them all to board
  352.             number 99.  The board number specified must be a valid board
  353.             in your message base.  If you use the "-m" option, you might
  354.             set up a special board with sysop access only as a holding
  355.             area for these messages.
  356.  
  357.  
  358.             -n<"name">
  359.  
  360.             This option allows you to specify a user name for OT to
  361.             search for.  All messages From this username will be killed.
  362.             The username "name" must appear between quotes on the
  363.             command line.  For example:
  364.  
  365.             OT -n"Joe Blo"
  366.  
  367.             Optionally, you may have a space between "-n" and "Joe Blo".
  368.  
  369.  
  370.             -p<person list file>
  371.  
  372.             This option allows you to specify file on the command line
  373.             which OT will use as a list of people to twit or kill
  374.             messages from.  This "list" file is a plain ASCII file
  375.             listing all the names you want OT to scan for.  Quotes are
  376.             not used in the list file, and OT will strip all leading and
  377.             trailing blanks from all list entries.  The list would be of
  378.             the following form:
  379.  
  380.             Joe Blo
  381.             Captain Kool
  382.             Rude Dude
  383.  
  384.             You can create or edit this list with any standard text
  385.             editor.  The present limit on the number of people you can
  386.             have in the list file is 200.  This should be plenty for
  387.             most occasions, however it may be increased in later
  388.             versions of OffTopic.
  389.  
  390.             If the person list file is not in the current directory or
  391.             same directory that OT.EXE is run from, then you must
  392.             include the full drive:\path\filename.ext on the command
  393.             line.  For example:
  394.  
  395.             OT -p c:\file\bbs\people.lst
  396.  
  397.             The space between "-p" and "c:\file\bbs\people.lst" is
  398.             optional.
  399.  
  400.  
  401.             -rt<relaxed topic search>
  402.  
  403.             This is probably the most useful option in that it allows
  404.             you to tell OT to search threads or topics in a more relaxed
  405.             fashion.  This means that if OT finds your topic string
  406.             within the Subject field of a message, it will call it a
  407.             match and delete the message.  This relaxed search is in
  408.             contrast with an Exact match type of search, where the topic
  409.             string would have to match the subject field *exactly*.
  410.  
  411.             OT, by default, uses an exact match search.  Therefore,
  412.             without the -rt option, if your topic string was "offline",
  413.             and the subject field contained "offline readers", OT would
  414.             NOT call this a match.  You would need to use the -rt option
  415.             to "relax" the pattern matching a bit, so to speak.
  416.  
  417.             Using -rt in a search gives you more flexibility, but you
  418.             must also be careful not to be too general with your search
  419.             string.  For example:
  420.  
  421.             OT "on" -rt
  422.  
  423.             would probably delete half your message base, or perhaps
  424.             more.  OT would find the string "on" within many of the
  425.             subject fields in the message base.  Be careful with this
  426.             option.  Ideally, you should use a topic string as specific
  427.             as possible, while still making it general enough to match
  428.             the topics without being too strict.
  429.  
  430.  
  431.             -rn<relaxed name search>
  432.  
  433.             This is identical to the -rt<relaxed topic search> option,
  434.             but it causes OT to relax it's name matching rather than
  435.             topic matching.  An example of using -rn might be:
  436.  
  437.             OT -n "joaq" -rn -m 20
  438.  
  439.             This would tell OT to relax it's name pattern matching and
  440.             would match any message headers which contained "joaq"
  441.             within the From field of the header, and Move these messages
  442.             to message board number 20.  OT would most likely come up
  443.             with "Joaquim Homrighausen" in this example.  The "-rn"
  444.             option will allow OT to find names in a more flexible
  445.             manner.
  446.  
  447.             When using the -rt and -rn options, be aware that you may
  448.             come up with unintended matches which you didn't anticipate.
  449.             For example:
  450.  
  451.             OT -n "john" -rn
  452.  
  453.             would match all of the names listed below:
  454.  
  455.             John Doe
  456.             Bill Johnson
  457.             Johnathan Smith
  458.  
  459.             which is NOT what you had intended to find.  The best way to
  460.             combat this problem in relaxed searching is to make your
  461.             search string long enough to be reasonably certain that it
  462.             won't generate unexpected matches.  In the example above, to
  463.             find messages From "John Miller", you might do something
  464.             like this:
  465.  
  466.             OT -n "john m" -rn
  467.  
  468.             The same would apply to topic searches with the -rt option.
  469.  
  470.  
  471.             -t<topic list file>
  472.  
  473.             This options is basically the same as the -p<person list
  474.             file> option.  This allows you to specify a list file which
  475.             contains up to 200 topic strings or threads.  OT will search
  476.             each message header subject field for each topic you have in
  477.             the list file.  For example:
  478.  
  479.             OT -t c:\file\bbs\topic.lst
  480.  
  481.             See the section above on the -p<person list file> option for
  482.             more details.
  483.  
  484.  
  485.             -u<undelete>
  486.  
  487.             This is the "Oops!" option or UnDelete command option for
  488.             OffTopic.  This option allows you to UnDelete any deleted
  489.             messages in the message base if you find that you've
  490.             accidentally deleted something you didn't want to delete.
  491.  
  492.             This option can be used with one other option at the same
  493.             time, which is the -b<board number(s)> option.  Using the
  494.             -u<undelete> option in conjunction with the -b<boards>
  495.             option allows you to tell OT to search only the board
  496.             numbers specified after the "-b".  For example:
  497.  
  498.             OT -u -b 22 120
  499.  
  500.             This command line would tell OffTopic to UnDelete all
  501.             deleted messages on boards 22 and 120.  Any deleted messages
  502.             on other boards would remain deleted.
  503.  
  504.             When OT UnDeletes messages, it will re-link them back into
  505.             any existing reply chains "on the fly".  Likewise, when OT
  506.             kills or moves messages, it will fix up any "holes" left in
  507.             the reply chain "on the fly".
  508.  
  509.             One last note on the UnDelete option.  This option is only
  510.             useful if you use it *prior* to a message base Pack.  When
  511.             you Pack the message base, you eliminate all chances of
  512.             UnDeleting a message.  The "-u" option must be used prior to
  513.             Packing the message base or you will recover nothing.
  514.  
  515.  
  516.  
  517.  
  518.                    Some Examples To Illustrate Using OffTopic
  519.  
  520.  
  521.         Here are a few example command lines to illustrate how you might
  522.         use OffTopic in normal situations:
  523.  
  524.         OT "readers"
  525.  
  526.         This is the simplest form that the command line can take for a
  527.         Topic search.  OT will search the message headers for the topic
  528.         "readers" and it will require an exact match before it kills the
  529.         message.  OT will search all message boards by default.
  530.  
  531.  
  532.         OT "test" -rt
  533.  
  534.         This would tell OT to search message headers for that good old
  535.         phrase "test" and to search in a relaxed manner.  OT would kill
  536.         any messages with "test" in the message header, i.e. "Testing"
  537.         or "This is just a test", and so on.
  538.  
  539.  
  540.         OT -n "UUCP"
  541.  
  542.         This command line would tell OT to search message headers for
  543.         any messages From "UUCP".  Case is irrelevant, i.e., OT doesn't
  544.         care about upper/lower case distinctions.  However, an exact
  545.         match on names is necessary for OT to kill the message in this
  546.         case.  Adding -rn to the command line would relax the search.
  547.  
  548.  
  549.         OT -n "UUCP" -m 50 -l
  550.  
  551.         This command line would tell OT to search message headers for
  552.         any messages from "UUCP" and, rather than kill them, OT would
  553.         move them to board #50.  OT would also log summary info to the
  554.         OT.LOG logfile.
  555.  
  556.  
  557.         OT -t d:\fd\misc\topic.lst -rt
  558.  
  559.         This tells OT to search for off-topic messages based upon a list
  560.         of Topics you consider to be undesirable or not worthy of
  561.         viewing.  This search is also conducted in "relaxed" mode, that
  562.         is, each Topic in your list file will be searched for within the
  563.         message headers in a non-exact-match mode.  Your list file might
  564.         look something like this:
  565.  
  566.         Comm
  567.         Bimodem
  568.         Offline reader
  569.         latest files
  570.  
  571.         and so on.  Any topic or topic fragment is valid.  Remember that
  572.         if you don't use the "-rt" option, OT will enforce an exact match
  573.         of the topic before it will kill a message.
  574.  
  575.  
  576.         OT -t d:\fd\topic.lst -rt -b 15 20
  577.  
  578.         This will tell OT to do the same search as in the example above,
  579.         but only conduct the search on message boards 15 and 20.
  580.         Anything outside these two boards will be ignored.
  581.  
  582.  
  583.         OT -p d:\ra\people.lst -k
  584.  
  585.         This is similar to the above, only OT will use your People List
  586.         and kill any messages it finds coming from persons listed in
  587.         your List.  OT however, will NOT kill any messages if they are
  588.         addressed to you (the -k option).
  589.  
  590.  
  591.         OT -n "james" -rn -t d:\fd\topic.lst -rt -m 30 -e 15 16 -l
  592.  
  593.         As you can see, one can get fairly complicated with all the
  594.         options and combinations.  This command line would tell OT to
  595.         search for "james" using a relaxed search, and ALSO to search
  596.         for all of the topics listed in the "topic.lst" file, using a
  597.         relaxed topic search, and Move these messages to message board
  598.         number 30.  OT will exclude message boards 15 and 16 from it's
  599.         search, and will also log all summary activity to OT.LOG.
  600.  
  601.  
  602.         OT -u
  603.  
  604.         This will tell OT to UnDelete any killed messages on all message
  605.         boards.  To narrow this down to a specific board or a few
  606.         boards, use the -b<boards> option with the -u option.
  607.  
  608.  
  609.         OT -u -e 55
  610.  
  611.         This will tell OT to UnDelete any killed messages on all message
  612.         boards except board number 55.  This would be handy for times
  613.         when you don't want messages in all boards UnDeleted.
  614.  
  615.  
  616.         That should be enough to get you started and give you an idea of
  617.         how the command line options work.  If you enter anything on the
  618.         command line incorrectly, OT will hopefully give you some kind
  619.         of error message telling you what's wrong and so on.
  620.  
  621.  
  622.  
  623.  
  624.                  Some General Comments On Command Combinations
  625.  
  626.  
  627.         Obviously, some OT command line options are ambiguous or
  628.         non-sensical.  For example, the following would generate an
  629.         error message from OT:
  630.  
  631.         OT -u -n"Joe Blo"
  632.  
  633.         Here, you're telling OffTopic to UnDelete messages AND to kill
  634.         messages from Joe Blo.  OT won't do both at the same time.
  635.  
  636.         OT -u -b 100 -e 100
  637.  
  638.         This would of course be senseless.  Here you're telling OT to
  639.         UnDelete messages on board 100 and to exclude board 100 from the
  640.         search at the same time.  Obviously this will yield a net result
  641.         of nil.
  642.  
  643.         If you use an illegal or conflicting set of command options with
  644.         OT, OT will give you an error message and tell you what was
  645.         wrong.
  646.  
  647.         If you type "OT" with no topic string or options, OT will
  648.         display an error message and a list of available options.
  649.  
  650.  
  651.  
  652.  
  653.                     A Batch File Example For Using OffTopic
  654.  
  655.  
  656.         One of the greatest potential uses for OffTopic is in your main
  657.         RunFd.Bat file (or whatever your's happens to be called).  I run
  658.         FrontDoor and RemoteAccess, and also use TosScan to process my
  659.         echomail.  Your case may be slightly different, however, the
  660.         same basic principle applies.  Here is an example section of my
  661.         batch file which illustrates one way to use OffTopic.  When
  662.         FrontDoor receives mail, it exits with an errorlevel and jumps
  663.         to the following :TossMail section of the batch file:
  664.  
  665.  
  666.         :TossMail
  667.         d:
  668.         cd d:\fd
  669.         if EXIST d:\files\*.MO? tosscan toss /NOMGR
  670.         if EXIST d:\files\*.T?? tosscan toss /NOMGR
  671.         if EXIST d:\files\*.WE? tosscan toss /NOMGR
  672.         if EXIST d:\files\*.FR? tosscan toss /NOMGR
  673.         if EXIST d:\files\*.S?? tosscan toss /NOMGR
  674.         if EXIST d:\fd\import.xyz OT -t topic.lst -rt -p people.lst -k -l
  675.         if EXIST d:\fd\import.xyz Tsutil link -t
  676.         if EXIST *.msg tsutil import
  677.         goto restart
  678.  
  679.         In the example above, my "topic.lst" file and my "people.lst"
  680.         file are in the current directory (d:\fd), so I have omitted the
  681.         complete drive and path name from the command line.
  682.  
  683.         Your setup and configuration may vary from this, but the basic
  684.         idea here is to receive mail, exit and toss the mail to the
  685.         message base, run OT, link or import if that's what you usually
  686.         do, and finally reload the mailer.
  687.  
  688.         In my case above, TosScan always leaves the file "import.xyz"
  689.         behind after it tosses new mail to the message base, so I have
  690.         used this as my "trigger" to tell me if I need to run OT.
  691.         Likewise with Tsutil Link.  Even if you have to run OT "blindly"
  692.         without knowing if new mail has been tossed or not, it shouldn't
  693.         take more than a few seconds or so for OT to scan the message
  694.         base and do it's work.
  695.  
  696.         You can do something similar after each caller logs off, or
  697.         whenever you feel it might be a good idea to run OT.  You may
  698.         have several questionable users that you want to monitor, and
  699.         this would be one way to check their messages before they go
  700.         anywhere or before they're seen by anyone.  You could have OT
  701.         automatically scan for messages from certain users, and move
  702.         them to a private "holding area" for further review before
  703.         processing them.
  704.  
  705.  
  706.  
  707.  
  708.                       A Few Final Notes Regarding OffTopic
  709.  
  710.  
  711.         How you use OffTopic is of course your own business.  My initial
  712.         thought in writing OT was to "weed out" some of the excess
  713.         threads and topics in various echo areas I read.  Many of these
  714.         areas have a daily flow in excess of 100 messages, which quickly
  715.         becomes difficult to read and keep up with on a daily basis if
  716.         one tries to read everything.  Some threads are of no interest
  717.         to me, and since they recur consistently, week after week, I let
  718.         OT remove them automatically, which helps cut down the amount of
  719.         mail I have to wade thru here.
  720.  
  721.         After I began writing OT, it quickly became apparent that a few
  722.         other options would be useful in some situations.  And as OT
  723.         developed further, I kept seeing more and more potential uses
  724.         for it which I am sure many others may see also.
  725.  
  726.         It is not my intention to tell anyone how to use OffTopic, so
  727.         it's entirely up to you.  I have included an idea here and there
  728.         mainly to illustrate several potential uses, not to dictate how
  729.         it's used.  As far as I know, OffTopic cannot be used in any
  730.         harmful way.  OffTopic is a very personal utility for the Sysop,
  731.         and one which will hopefully make life a lot easier in many
  732.         ways.  OffTopic has the potential to assist the Sysop in some
  733.         areas which were previously very difficult to say the least.
  734.  
  735.  
  736.  
  737.  
  738.                        Other Miscellaneous Pieces Of Info
  739.  
  740.  
  741.         OffTopic will display what it's doing most of the time.  This is
  742.         mostly to let you know what's going on, and that something is
  743.         happening.
  744.  
  745.         OffTopic will also report how many messages it has deleted after
  746.         it's done, or it will alternatively tell you that no off-topic
  747.         messages were found.  If you are running OT unattended, using
  748.         the -l option will also log this summary info to OT.LOG.
  749.  
  750.         OffTopic does not yet support any kind of message base locking
  751.         scheme, and as such, should be used with caution within a
  752.         multi-node or multi-tasking environment.  I will be
  753.         incorporating Andrew Milner's locking scheme in future releases
  754.         of this program, however, at this time, I would advise great
  755.         caution in this area.  It's best to run OT while no other program
  756.         is accessing the message base files.
  757.  
  758.  
  759.  
  760.  
  761.                                     Credits
  762.  
  763.  
  764.         I would like to give my special thanks to Basil Groman on
  765.         Fidonet 1:284/100 for his ongoing and consistent support and
  766.         help in testing many of my programs.  Without his help and
  767.         insight, these projects would have been much more difficult.
  768.         Thanks Basil..
  769.  
  770.  
  771.         And of course, in case there is anyone out there who doesn't
  772.         already know...  FrontDoor and TosScan are copyrighted material
  773.         of Joaquim H. Homrighausen, and RemoteAccess is copyrighted
  774.         material of Andrew Milner and Continental Software.
  775.  
  776.  
  777.  
  778.  
  779.                                 The Grand Finale
  780.  
  781.  
  782.         Well, that's about it for now.  This is version 1.00 of
  783.         OffTopic, and as such, I would appreciate hearing from you
  784.         regarding any bugs or problems you encounter while using OT.
  785.         Comments, suggestions, and other ideas are also welcome.
  786.         Complaints and other nonsense will be considered OffTopic. :)
  787.  
  788.         I am reachable via Netmail and also on the BBS at the address
  789.         listed below.  I also read the RA_UTIL echo and FDECHO fairly
  790.         regularly at this time, however, it is usually preferable to use
  791.         Netmail or the BBS for any extended questions, comments or bug
  792.         reports relating to OffTopic.
  793.  
  794.         Thanks for your interest and I hope you find OffTopic easy to
  795.         use and useful on your system.
  796.  
  797.  
  798.         Ken Doebler
  799.         07/27/91
  800.  
  801.         The Software Resource
  802.         Mail Development Headquarters
  803.         Fidonet Address 1:102/330
  804.         Torrance, California USA
  805.         (213) 214-2018
  806.         24 Hours A Day
  807.         2400 bps
  808.  
  809.  
  810.  
  811. <end of document>
  812.